<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<script type="text/javascript" src="common/lib/jquery-1.9.0.min.js"></script>
	<script type="text/javascript" src="common/js/sccl.js"></script>
</head>
<body>
	<form action="searchBusinessLogInfo.action" method="POST" name="businessLog">
		<label>User Name</label>
		<input name="operate_account" type="text" value="${sessionScope.operate_account}"/>
		<label>Model Name</label>
		<input name="model_name" type="text" value="${sessionScope.model_name}"/>
		<label>Status</label>
		<input name="status" type="text" value="${sessionScope.status}"/>
		<label>Begain</label>
		<input name="begainDate" type="datetime" value="${sessionScope.begainDate}"/>
		<label>End</label>
		<input name="endDate" type="datetime" value="${sessionScope.endDate}">
		<input name="Submit" type="submit" />
	</form>
	
	<c:if test="${!empty businessLogInfo}">
		<c:forEach items="${businessLogInfo}" var="businessLog">
			<div>
				<tr>
					<td>${businessLog.business_id}</td>
					<td>${businessLog.operate_account}</td>
					<td>${businessLog.model_name}</td>
					<td>${businessLog.operate}</td>
					<td>${businessLog.status}</td>
					<td><fmt:formatDate value="${businessLog.operate_date}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
					<td>${businessLog.info}</td>
				</tr>
			</div>
		</c:forEach>
	</c:if>
	
	<a href="searchBusinessLogInfo.action?cur=1">首页</a>
	<a href="searchBusinessLogInfo.action?cur=${sessionScope.cur-1}">上一页</a>
	<a href="searchBusinessLogInfo.action?cur=${sessionScope.cur+1}">下一页</a>
	<a href="searchBusinessLogInfo.action?cur=${sessionScope.pageNumber}">尾页</a>
	<font>当前第${sessionScope.cur}/${sessionScope.pageNumber}</font>
</body>
</html>